package com.hnichr.ump.common.plan.service;

import com.hnichr.ump.common.plan.entity.PlanScheduleContents;
import com.hnichr.ump.common.plan.entity.PlanScheduleContentsAttach;
import com.hnichr.ump.common.plan.vo.ContentAttachVo;
import com.hnichr.ump.common.plan.vo.PlanScheduleContentsVo;
import com.mxpioframework.jpa.query.Criteria;
import com.mxpioframework.system.service.BaseService;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface PlanScheduleContentsService extends BaseService<PlanScheduleContents> {

    List<PlanScheduleContents> list(Criteria c);


    Page<PlanScheduleContents> listPage(Pageable page, Criteria c);

    PlanScheduleContents getById(String id);

    PlanScheduleContents save(PlanScheduleContentsVo vo);

    PlanScheduleContents edit(PlanScheduleContentsVo vo);

    void remove(String ids);


    PlanScheduleContents accomplish(String id);

    PlanScheduleContents unaccomplished(String id);

    List<PlanScheduleContentsAttach> attachList(String id);

    List<PlanScheduleContentsAttach> saveAttach(ContentAttachVo contentAttachVo);

    void removeAttach(String id);
}
